<?php
namespace soa\account;

use soa\client;

/**
 * Class MiniApp
 */
class MiniApp extends client
{

    /**
     * 服务地址
     * @var string
     */
    public $service_url = 'http://account.core.kuaidihelp.com/';

    /**
     * 服务名称
     * @var string
     */
    protected $service_name = 'kuaidihelp_account';

    /**
     * 方法委托
     * @param $method
     * @param $args
     * @return bool|null
     */
    public function __call($method, $args)
    {
        return $this->get("v1/user/MiniApp/{$method}", $args[0]);
    }
}
